<?php

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Capsule\Manager as DB;

class membermergeModel extends Model
{
    protected $table = 'member_merge';
    protected $primaryKey = 'id';
    public $timestamps = false;


    public function target()
    {
        return $this->belongsTo(memberModel::class, 'target_id', 'id')->select('id', 'nickname', 'realname', 'phone');
    }

}
